package edu.uoc.tdp.pac4.connexiomanteniment.gui;


import java.awt.EventQueue;

import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.UIManager;
import javax.swing.border.EmptyBorder;
import java.awt.Color;
import javax.swing.JLabel;
import java.awt.Font;
import java.awt.SystemColor;
import javax.swing.JTextField;
import javax.swing.JTable;
import javax.swing.JButton;

import edu.uoc.tdp.pac4.connexiomanteniment.i18n.*;

import javax.swing.JScrollBar;




public class PantallaVisioProves extends JFrame {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6432382687638219006L;
	private JPanel contentPane;
	private JTextField textField;
	private JTextField textField_1;
	private JTable table;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
					PantallaVisioProves frame = new PantallaVisioProves();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public PantallaVisioProves() {
		setResizable(false);
		LanguageUtils.setDefaultLanguage("i18n/messagesConnexioManteniment");

		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 576, 426);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JPanel panel = new JPanel();
		panel.setLayout(null);
		panel.setBackground(Color.WHITE);
		panel.setBounds(0, 0, 574, 76);
		contentPane.add(panel);
		
		JLabel lblUserSearch = new JLabel(LanguageUtils.getMessage("PantallaVisioProves.studentTestsLabel.text"));
		lblUserSearch.setForeground(SystemColor.textHighlight);
		lblUserSearch.setFont(new Font("Calibri", Font.BOLD, 26));
		lblUserSearch.setBounds(198, 28, 177, 26);
		panel.add(lblUserSearch);
		
		JLabel label_1 = new JLabel("");
		label_1.setIcon(new ImageIcon(PantallaVisioProves.class.getResource("/images/logo.png")));
		label_1.setBounds(10, 0, 118, 70);
		panel.add(label_1);
		
		JLabel label_2 = new JLabel("");
		label_2.setIcon(new ImageIcon(PantallaVisioProves.class.getResource("/images/logo_empresa.png")));
		label_2.setBounds(10, 370, 27, 14);
		contentPane.add(label_2);
		
		JLabel label_3 = new JLabel("by SoftWebSolutions");
		label_3.setFont(new Font("Calibri", Font.PLAIN, 9));
		label_3.setBounds(42, 370, 84, 14);
		contentPane.add(label_3);
		
		JPanel panel_1 = new JPanel();
		panel_1.setBounds(10, 88, 560, 238);
		contentPane.add(panel_1);
		panel_1.setLayout(null);
		
		JScrollBar scrollBar = new JScrollBar();
		scrollBar.setBounds(539, 57, 15, 175);
		panel_1.add(scrollBar);
		
		textField = new JTextField();
		textField.setBounds(10, 26, 208, 20);
		panel_1.add(textField);
		textField.setColumns(10);
		
		JLabel lblFirstName = new JLabel(LanguageUtils.getMessage("PantallaVisioProves.firstnameLabel.text"));
		lblFirstName.setFont(new Font("Tahoma", Font.PLAIN, 14));
		lblFirstName.setBounds(10, 7, 84, 20);
		panel_1.add(lblFirstName);
		
		textField_1 = new JTextField();
		textField_1.setColumns(10);
		textField_1.setBounds(311, 26, 208, 20);
		panel_1.add(textField_1);
		
		JLabel lblLastName = new JLabel(LanguageUtils.getMessage("PantallaVisioProves.lastnameLabel.text"));
		lblLastName.setFont(new Font("Tahoma", Font.PLAIN, 14));
		lblLastName.setBounds(311, 7, 84, 20);
		panel_1.add(lblLastName);
		
		
		table = new JTable();
		JTable table = new JTable();
		table.setBounds(10, 57, 544, 181);
		panel_1.add(table);
		
		JButton btnOk = new JButton(LanguageUtils.getMessage("PantallaVisioProves.okButton.text"));
		btnOk.setBounds(457, 346, 89, 23);
		contentPane.add(btnOk);
		
		
	}
}
